$.ajaxPrefilter(function(option) {
    option.url = 'http://www.itcbc.com:8080' + option.url,
        option.complete = function(xhr) {
            let res = xhr.responseJSON;
            if (res && res.status === 1) {
                if (res.status == 1 && res.message == '身份认证失败') {
                    localStorage.removeItem('token');
                    location.href = './login.html'
                }

                $('#p').show().text(res.message)
                $('.pmima').text(res.message);
            };

        }
    option.headers = {
        Authorization: localStorage.getItem('token')
    }
});